import 'package:flutter/material.dart';
//import 'package:get/get.dart';
import 'package:ichinesereader/pages/common/report/reportsStudentPersonalContent.dart';
import 'package:ichinesereader/utils/log.dart';
import 'package:ichinesereader/widgets/layouts/customAppBar.dart';
//import '../../../themes/appTheme.dart';
import '../../../themes/pageStyles.dart';

class ReportStudentPersonal extends StatefulWidget {
  ReportStudentPersonal({
    Key? key,
    required this.userName,
    required this.classId,
  }) : super(key: key);
  final String userName;
  final String classId;
  static const String routeName = '/reports/studentpersonal';

  _ReportStudentPersonal createState() => new _ReportStudentPersonal();
}
final PageStyles _pageStyles = PageStyles();
class _ReportStudentPersonal extends State<ReportStudentPersonal>
    with TickerProviderStateMixin {
  @override
  void initState() {
    super.initState();
  }

  Widget build(BuildContext context) {
    Log.debug('build reportsStudentPersonal');

    return Scaffold(
      backgroundColor: Colors.transparent,
      appBar: CustomAppBar(
        title: widget.userName,
      ),
      body: Container(
          decoration: _pageStyles.pageBoxDecoration(),
          padding: const EdgeInsets.all(6.0),
          child: ReportStudentPersonalContent(
            classId: widget.classId,
            userName: widget.userName,
          )),
    );
  }
}
